<div class="container-fluid layout">
  <form class="form-horizontal" #forma="ngForm">
    <div class="layout-container">
      <div class="main-item">
        <div class="fir-title"><i class="circle">●</i>基础信息</div>
        <div class="main-item">
          <div class="row sec-item">
            <div class="col-md-2 sec-title">选择类目</div>
            <div class="col-md-8">
              <div><span *ngFor="let item of goodsCategory">{{item.name}} <span *ngIf="item.level<2">－</span> </span>
              </div>
              <div class="tips">商品上架后不可修改，请谨慎选择</div>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title">商品属性
              <div class="tips">(选填)</div>
            </div>
            <div class="col-md-10">
              <div class="box">
                <div>
                  <!--{{goodsAttribute|json}}-->
                  <div class="row">
                    <div class="col-md-6" *ngFor="let item of goodsAttribute">
                      <div class="sel-title">{{item.name}}<!--{{item.id}}--></div>
                      <select name="goodsAttribute" class="form-control" *ngIf="item.multiple_choice==='单选'"
                              (change)="changeGoodsAttributeOnly($event,item)" [disabled]="item.selected===true">
                        <option value="">请选择</option>
                        <option *ngFor="let ite of item.attribute_value" [value]='ite.id' [selected]="ite.bind===true">
                          {{ite.value}}
                        </option>
                      </select>
                      <span class="sel-content" *ngIf="item.multiple_choice==='多选'">
                        <div class="sel-width" *ngFor="let ite of item.attribute_value"
                             (change)="changeGoodsAttribute()"><label
                          class="sel-omit" style="font-weight: normal;"><input
                          type="checkbox" (change)="change_attribute_value(ite)" name="attribute_value" [checked]="ite.bind" [disabled]="item.selected===true">{{ite.value}}<!-- -{{ite.bind}}-{{item.selected}}-->
                          <!--type="checkbox" [checked]="ite.bind" (change)="ite.bind = !ite.bind" name="attribute_value">{{ite.value}}-->
                          <!--{{ite.id}}--></label><br/></div>
                    </span>
                    </div>
                  </div>
                </div>
                <div class="operate-line">
                  <a href="javascript:;" class="operate" *ngIf="addAttr === 0" (click)="addAttr = 1;">添加属性</a>
                  <div class="grid-line" *ngIf="addAttr === 1">
                    <div class="grid-item">
                      <div class="grid-title">属性名称</div>
                      <input type="text" class="form-control">
                    </div>
                    <div class="grid-item">
                      <div class="grid-title">属性值</div>
                      <input type="text" class="form-control">
                    </div>
                    <div class="grid-item">
                      <div class="grid-title">&nbsp;</div>
                      <div>
                        <button class="btn btn-success">确定</button>
                        <button class="btn btn-default" (click)="addAttr = 0;">取消</button>
                      </div>
                    </div>
                  </div>
                  <div class="grid-line" *ngIf="addAttr === 2">
                    <input type="text" class="form-control">
                    <button class="btn btn-success" (click)="confirmAddItem()">添加</button>
                    <button class="btn btn-default" (click)="addAttr = 0">取消</button>
                  </div>
                </div>
              </div>
              <div class="tips">商品上架后不可修改，请谨慎选择</div>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title">商品分组
              <div class="tips">(选填)</div>
            </div>
            <!--{{appletGoodsCategory|json}}-->
            <div class="col-md-10">
              <div class="box">
                <div>
                  <div class="row">
                    <div class="col-md-2" *ngFor="let item of appletGoodsCategory">
                      <label style="font-weight: normal"><input name="appletGoodsCategory" type="checkbox" [checked]="item.bind===true" (change)="item.bind=!item.bind">{{item.name}}</label>
                    </div>
                  </div>
                </div>
                <div class="operate-line">
                  <a href="javascript:;" class="operate" *ngIf="!addGroup" (click)="addGroup = !addGroup;">新建分组</a>
                  <div class="grid-line" *ngIf="addGroup">
                    <input type="text" class="form-control" placeholder="" maxlength="5"
                           [(ngModel)]="appletGoodsCategoryName" name="appletGoodsCategoryName">
                    <button class="btn btn-success" (click)="addAppletGoodsCategory()"
                            [disabled]="appletGoodsCategoryNameStatus">确定
                    </button>
                    <button class="btn btn-default" (click)="addGroup = !addGroup;">取消</button>
                    <div class="tips">请填写分组名称，不超过5个汉字</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title"><span class="red">*</span>商品名称</div>
            <div class="col-md-6">
              <input type="text" class="form-control" [(ngModel)]="name" name="name">
              <div class="tips">限30个字</div>
            </div>
          </div>


          <div class="row sec-item">
            <div class="col-md-2 sec-title">商品规格</div>
            <div class="col-md-10 radio-style">

              <input type="radio" name="size" id="unify" value="无规格" [(ngModel)]="norm_mode" disabled><label
              for="unify">无规格</label>
              <input type="radio" name="size" id="more" value="多规格" [(ngModel)]="norm_mode" disabled><label
              for="more">多规格</label>

              <div class="box" *ngIf="norm_mode==='多规格'">
                <div *ngFor="let item of goodsAttribute">
                  <span *ngIf="item.selected===true">
                   <div style="font-weight: 800">{{item.name}} {{item.remark}}  <!--<span class="btn_del"
                                                                                      style="cursor: pointer;color: red;"
                                                                                      (click)="delSku(item)">X</span>-->
                     <!--<a href="javascript:;" class="operate">编辑</a>--></div>
                   <div class="row">
                     <ng-container *ngFor="let ite of item.attribute_value">
                       <div class="col-md-3" *ngIf="ite.bind===true">
                         <label>{{ite.value}}</label>
                       </div>
                    </ng-container>
                   </div>
                  </span>
                </div>
                <div *ngFor="let item of custom_group">
                   <div style="font-weight: 800">{{item.name}} {{item.remark}}  <!--<span class="btn_del"
                                                                                      style="cursor: pointer;color: red;"
                                                                                      (click)="delSku(item)">X</span>-->
                     <!--<a href="javascript:;" class="operate">编辑</a>--></div>
                   <div class="row">
                     <ng-container *ngFor="let ite of item.custom_goods_attribute_value">
                       <div class="col-md-3">
                          <label>{{ite.custom_goods_attribute_value_name}}</label>
                       </div>
                    </ng-container>
                   </div>
                </div>
                <div class="operate-line" style="display: none">
                  <a href="javascript:;" class="operate" *ngIf="!addType" (click)="addType = !addType;">添加规格</a>
                  <div class="grid-line" *ngIf="addType">
                    <div class="grid-item">
                      <div class="grid-title">规格名称</div>


                      <!--<input type="text" class="form-control">-->

                      <select class="form-control" (change)="selectGoodsAttribute($event)" name="goodsAttribute">
                        <option value="0">请选择</option>
                        <option *ngFor="let item of goodsAttribute" value="{{item.goods_attribute_set_id}}">
                          {{item.name}}
                        </option>
                      </select>

                    </div>
                    <div class="grid-item">
                      <div class="grid-title">规格值</div>

                      <input type="text" class="form-control" [(ngModel)]="customize" name="customize">

                      <!--<select class="form-control" (change)="selectGoodsAttributeValue($event)">
                        <option value="0">请选择</option>
                        <ng-container  *ngFor="let item of nowGoodsAttribute?.attribute_value">
                        <option  value="{{item.id}}" *ngIf="item?.bind===true">{{item.value}}</option>
                        </ng-container>
                      </select>-->
                    </div>
                    <div class="grid-item">
                      <div class="grid-title">&nbsp;</div>
                      <button class="btn btn-success" [disabled]="!nowGoodsAttribute"
                              (click)="addGoodsAttribute()">添加
                      </button>
                    </div>
                  </div>
                  <br/>
                  <!--<div *ngIf="addType">
                    <span class="size-item">
                      <span class="size-name">湖北</span>
                      <span class="btn_del">X</span>
                    </span>
                    <span class="size-item">
                      <span class="size-name">湖北</span>
                      <span class="btn_del">X</span>
                    </span>
                  </div>-->
                  <div class="text-center" *ngIf="addType">
                    <!--<button class="btn btn-success">确定</button>-->
                    <button class="btn btn-default" (click)="addType = !addType;">取消</button>
                  </div>
                </div>

              </div>
            </div>
          </div>
          <!--{{stock|json}}-->
          <div class="row sec-item" *ngIf="norm_mode==='多规格'">
            <div class="col-md-2 sec-title">价格&库存</div>
            <div class="col-md-10">
              <div class="tips">微信价需低于原价，图片选传，单张图片大小不超过30kb。</div>
              <table class="table set-table">
                <thead>
                <tr>
                  <ng-container *ngFor="let item of goodsAttribute">
                    <th *ngIf="item.selected===true">{{item.name}}</th>
                  </ng-container>
                  <ng-container *ngFor="let item of custom_group">
                    <th>{{item.name}}</th>
                  </ng-container>
                  <th>微信价</th>
                  <th>原价<span class="tips"></span></th>
                  <th>库存</th>
                  <th>商品条码</th>
                  <th>是否套餐选择项</th>
                </tr>
                </thead>

                <tbody>
                <ng-container *ngFor="let item of stock;let i = index;">
                  <tr>
                    <ng-container *ngIf="!item.sku.id;">
                      <td *ngFor="let ite of item.sku">{{ite.value}} <!--<br/> {{ite.id}}--></td>
                    </ng-container>
                    <!--<ng-container *ngIf="item.id">
                      <td>{{item.value}} <br/> {{item.id}}</td>
                    </ng-container>-->
                    <td><input type="number" class="form-control" [(ngModel)]="item.price" required [ngModelOptions]="{standalone: true}"
                               appValidateMoney></td>
                    <td><input type="number" class="form-control" [(ngModel)]="item.retail_Price" [ngModelOptions]="{standalone: true}"
                               required appValidateMoney></td>
                    <td><input type="number" class="form-control" [(ngModel)]="item.in_stock" [ngModelOptions]="{standalone: true}"
                               required></td>
                    <td><input type="text" class="form-control" [(ngModel)]="item.isbn" [ngModelOptions]="{standalone: true}"></td>
                    <td><input type="checkbox" [(ngModel)]="item.is_tc" [ngModelOptions]="{standalone: true}"></td>
                  </tr>
                </ng-container>
                </tbody>

                <!--<tr>
                  <td>{{item1.value}}</td>
                  &lt;!&ndash;<ng-container *ngFor="let x of goodsAttribute">
                    <th><input type="text" class="form-control"></th>
                  </ng-container>&ndash;&gt;
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                </tr>-->


                <!--<tr>
                  <th>颜色
                    <i class="iconfont icon-help" (mouseover)="colorHelp = true" (mouseleave)="colorHelp = false">
                      <div class="prompt-help" *ngIf="colorHelp">
                        <div class="popover_inner">
                          <div class="popover_content">
                            你可选择是否上传颜色对应图片，上传后将在用户选择颜色的时候出现在对应的位置，方便用户选择。
                          </div>
                        </div>
                        <i class="popover_arrow popover_arrow_out"></i>
                        <i class="popover_arrow popover_arrow_in"></i>
                      </div>
                    </i>
                  </th>
                  <th>微信价</th>
                  <th>原价<span class="tips">(选填)</span></th>
                  <th>库存</th>
                  <th>商品条码 <span class="tips">(选填)</span>
                    <i class="iconfont icon-help" (mouseover)="codeHelp = true" (mouseleave)="codeHelp = false">
                      <div class="prompt-help" *ngIf="codeHelp">
                        <div class="popover_inner">
                          <div class="popover_content">
                            填写商品条码后，用户可通过扫码查找到你的商品，建议填写
                          </div>
                        </div>
                        <i class="popover_arrow popover_arrow_out"></i>
                        <i class="popover_arrow popover_arrow_in"></i>
                      </div>
                    </i>
                  </th>
                </tr>-->


                <!--<tbody>
                <tr>
                  <td>中黄色
                    &lt;!&ndash;<button class="btn btn-default">添加商品</button>&ndash;&gt;
                  </td>
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                  <td><input type="text" class="form-control"></td>
                </tr>
                </tbody>-->
              </table>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title"><span class="red">*</span>微信价</div>
            <div class="col-md-10">
              <input type="number" class="form-control input-control" [(ngModel)]="price" #price1="ngModel" name="price"
                     required appValidateMoney> 元
              <div class="tips">销售价，需低于原价</div>
            </div>
            <div class="col-md-12">
              <div *ngIf="price1 && price1.errors && (price1.dirty || price1.touched)" class="alert alert-danger">
                <div [hidden]="!price1.errors.required">
                  请输入微信价
                </div>
                <div [hidden]="!price1.errors.validateMoney">
                  请输入大于0的数字，小数点最多保留两位
                </div>
              </div>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title"><span class="red">*</span>原价
              <div class="tips"></div>
            </div>
            <div class="col-md-10">
              <input type="number" class="form-control input-control" [(ngModel)]="retail_Price"
                     #retail_Price1="ngModel" name="retail_Price" appValidateMoney> 元
            </div>
            <div class="col-md-12">
              <div *ngIf="retail_Price1 && retail_Price1.errors && (retail_Price1.dirty || retail_Price1.touched)"
                   class="alert alert-danger">
                <div [hidden]="!retail_Price1.errors.validateMoney">
                  请输入大于0的数字，小数点最多保留两位
                </div>
              </div>
            </div>
          </div>
          <div class="row sec-item" *ngIf="norm_mode==='无规格'">
            <div class="col-md-2 sec-title">商品库存</div>
            <div class="col-md-10">
              <input type="number" class="form-control input-control" [(ngModel)]="in_stock" name="in_stock">
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title">商品条码
              <i class="iconfont icon-help" (mouseover)="codeHelp = true" (mouseleave)="codeHelp = false">
                <div class="prompt-help" *ngIf="codeHelp">
                  <div class="popover_inner">
                    <div class="popover_content">
                      填写商品条码后，用户可通过扫码查找到你的商品，建议填写
                    </div>
                  </div>
                  <i class="popover_arrow popover_arrow_out"></i>
                  <i class="popover_arrow popover_arrow_in"></i>
                </div>
              </i>
              <div class="tips">（选填）</div>
            </div>
            <div class="col-md-10">
              <input type="text" class="form-control input-control" [(ngModel)]="goods_number" name="goods_number">
            </div>
          </div>
          <div class="row sec-item" *ngIf="norm_mode==='无规格'">
            <div class="col-md-2 sec-title">是否套餐选择项</div>
            <div class="col-md-10">
              <input type="checkbox" [(ngModel)]="is_tc" name="is_tc">
            </div>
          </div>

          <div class="row sec-item">
            <div class="col-md-2 sec-title"><span class="red">*</span>商品重量</div>
            <div class="col-md-10">
              <input type="text" class="form-control input-control" [(ngModel)]="weight" name="weight"> 克
            </div>
          </div>


          <!--<div class="row sec-item">-->
          <!--<div class="col-md-2 sec-title">商品条码-->
          <!--<i class="iconfont icon-help" (mouseover)="codeHelp = true" (mouseleave)="codeHelp = false">-->
          <!--<div class="prompt-help" *ngIf="codeHelp">-->
          <!--<div class="popover_inner">-->
          <!--<div class="popover_content">-->
          <!--填写商品条码后，用户可通过扫码查找到你的商品，建议填写-->
          <!--</div>-->
          <!--</div>-->
          <!--<i class="popover_arrow popover_arrow_out"></i>-->
          <!--<i class="popover_arrow popover_arrow_in"></i>-->
          <!--</div>-->
          <!--</i>-->
          <!--<div class="tips">（选填）</div>-->
          <!--</div>-->
          <!--<div class="col-md-10">-->
          <!--<input type="text" class="form-control input-control" [(ngModel)]="goods_number"> 元-->
          <!--</div>-->
          <!--</div>-->
          <div class="row sec-item">
            <div class="col-md-2 sec-title">商品图片</div>
            <div class="col-md-10">
              <div>主图
                <span class="tips">(建议尺寸为640像素*640像素，大小不超过500kb)</span>
                <i class="iconfont icon-help" (mouseover)="picHelp = true" (mouseleave)="picHelp = false">
                  <div class="prompt-help" *ngIf="picHelp">
                    <div class="popover_inner">
                      <div class="popover_content">
                        商品主图将会作为商品的默认图片出现在货架及商品详情页。
                      </div>
                    </div>
                    <i class="popover_arrow popover_arrow_out"></i>
                    <i class="popover_arrow popover_arrow_in"></i>
                  </div>
                </i>
              </div>

              <!--<img src="{{item.ProductPic}}" alt="tu" class="img-rounded" *ngIf="item.ProductPic">-->
              <div class="colr-md-4">
                <div class="ui-file">
                  <i class="iconfont icon-add"></i>
                  上传图片
                  <input class="ui-file-input" type="file" accept="image/png,image/jpeg,image/jpg" required
                         (change)="selectImg($event,0)">
                </div>
                <div class="edvert-photo-warp">
                  <img class="imgSize" src="{{f[0]}}" style="width: 130px;height: 130px;" *ngIf="f[0]">
                </div>
              </div>

              <div class="pt10">其他图片
                <span class="tips">(选传，单张图片大小不超过500kb)</span>
                <i class="iconfont icon-help" (mouseover)="otherPicHelp = true" (mouseleave)="otherPicHelp = false">
                  <div class="prompt-help" *ngIf="otherPicHelp">
                    <div class="popover_inner">
                      <div class="popover_content">
                        将出现在商品图片库，方便用户更好的了解您的商品。
                      </div>
                    </div>
                    <i class="popover_arrow popover_arrow_out"></i>
                    <i class="popover_arrow popover_arrow_in"></i>
                  </div>
                </i>
              </div>
              <div class="col-md-4">
                <div class="ui-file">
                  <i class="iconfont icon-add"></i>
                  上传图片
                  <input class="ui-file-input" type="file" accept="image/png,image/jpeg,image/jpg" required
                         (change)="selectImg($event,1)">
                </div>
                <div class="edvert-photo-warp">
                  <img class="imgSize" src="{{f[1]}}" style="width: 130px;height: 130px;" *ngIf="f[1]">
                </div>
              </div>

              <!--<img src="{{item.ProductPic}}" alt="tu" class="img-rounded" *ngIf="item.ProductPic">-->
              <!--<div class="photo-file" [class.opacity-0]="0">-->
              <!--+-->
              <!--<input class="ui-file-input" type="file" accept="image/*" required (change)="selectImg($event,2)" >-->
              <!--</div>-->
              <div class="col-md-4">
                <div class="ui-file">
                  <i class="iconfont icon-add"></i>
                  上传图片
                  <input class="ui-file-input" type="file" accept="image/png,image/jpeg,image/jpg" required
                         (change)="selectImg($event,2)">
                </div>
                <div class="edvert-photo-warp">
                  <img class="imgSize" src="{{f[2]}}" style="width: 130px;height: 130px;" *ngIf="f[2]">
                </div>
              </div>
              <!--<img src="{{item.ProductPic}}" alt="tu" class="img-rounded" *ngIf="item.ProductPic">-->
              <!--<div class="photo-file" [class.opacity-0]="0">-->
              <!--+-->
              <!--<input class="ui-file-input" type="file" accept="image/*" required (change)="selectImg($event,3)">-->
              <!--</div>-->
              <div class="col-md-4">
                <div class="ui-file">
                  <i class="iconfont icon-add"></i>
                  上传图片
                  <input class="ui-file-input" type="file" accept="image/png,image/jpeg,image/jpg" required
                         (change)="selectImg($event,3)">
                </div>
                <div class="edvert-photo-warp">
                  <img class="imgSize" src="{{f[3]}}" style="width: 130px;height: 130px;" *ngIf="f[3]">
                </div>
              </div>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title">是否限购</div>
            <div class="col-md-10 radio-style">
              <input type="radio" name="limit" id="notLimit" [value]="false" [(ngModel)]="limited"
                     (change)="select_max_buy()" disabled><label for="notLimit">不限购</label>
              <input type="radio" name="limit" id="limit" [value]="true" [(ngModel)]="limited"
                     (change)="select_max_buy()" disabled><label
              for="limit">限购</label>
              <input type="text" class="form-control position" [(ngModel)]="max_buy" *ngIf="limited" name="max_buy">
            </div>
          </div>
        </div>
      </div>

      <div class="main-item">
        <div class="fir-title"><i class="circle">●</i>物流信息</div>
        <div class="main-item">
          <!--<div class="row sec-item">
            <div class="col-md-2 sec-title">所在地</div>
            <div class="col-md-8 chose-area">
              <select name="" class="form-control">
                <option value="">请选择</option>
              </select>
              <select name="" class="form-control">
                <option value="">请选择</option>
              </select>
              <select name="" class="form-control">
                <option value="">请选择</option>
              </select>
            </div>
          </div>-->
          <div class="row sec-item">
            <div class="col-md-2 sec-title">卖家承担运费</div>
            <div class="col-md-8 radio-style">
              <input type="radio" name="carriage" id="seller" value='包邮' [(ngModel)]="is_free_postage"><label
              for="seller">卖家承担运费</label>
              <input type="radio" name="carriage" id="buyer" value='不包邮' [(ngModel)]="is_free_postage"><label
              for="buyer">买家承担运费</label>
              <div class="box" *ngIf="is_free_postage=='不包邮'">
                <div>
                  <select class="form-control width-control" [(ngModel)]="express_template_id" name="ExpressTemplate"
                          (change)="selectExpressTemplate($event)">
                    <option value="">请选择</option>
                    <option *ngFor="let item of expressTemplateList" value="{{item.id}}">
                      {{item.name}}
                    </option>
                  </select>
                  <button class="btn btn-default" routerLink="/main/store-product/delivery-manage">新建运费模板</button>
                  <button class="btn btn-default" (click)="getExpressTemplateList()">刷新模板</button>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="row sec-item" *ngIf="is_free_postage==='包邮'">
          <div class="col-md-2 sec-title">所在地</div>
          <div class="col-md-8 chose-area">
            <select name="goods_at_province" class="form-control" [(ngModel)]="goods_at_province"
                    (change)="selectProvince($event)">
              <option value="">请选择</option>
              <option *ngFor="let item of provinceList" value="{{item.code}}">
                {{item.name}}
              </option>
            </select>
            <select name="goods_at_city" class="form-control" [(ngModel)]="goods_at_city" (change)="selectCity($event)"
                    *ngIf="cityList.length>0">
              <option value="">请选择</option>
              <option *ngFor="let item of cityList" value="{{item.code}}">
                {{item.name}}
              </option>
            </select>
            <select name="goods_at_district" class="form-control" [(ngModel)]="goods_at_district"
                    *ngIf="regionList.length>0">
              <option value="">请选择</option>
              <option *ngFor="let item of regionList" value="{{item.code}}">
                {{item.name}}
              </option>
            </select>
          </div>
        </div>
      </div>

      <div class="main-item">
        <div class="fir-title"><i class="circle">●</i>售后信息</div>
        <div class="main-item">
          <div class="row sec-item">
            <div class="col-md-2 sec-tiappletGoodsCategorytle">发票</div>
            <div class="col-md-8 radio-style">
              <input type="radio" name="had_invoice" id="not" [(ngModel)]="had_invoice" value="无"><label
              for="not">无</label>
              <input type="radio" name="had_invoice" id="has" [(ngModel)]="had_invoice" value="有"><label
              for="has">有</label>
            </div>
          </div>
          <div class="row sec-item">
            <div class="col-md-2 sec-title">保修</div>
            <div class="col-md-8 radio-style">
              <input type="radio" name="had_warranty_fix" [(ngModel)]="had_warranty_fix" value="无" id="cannot"><label
              for="cannot">无</label>
              <input type="radio" name="had_warranty_fix" [(ngModel)]="had_warranty_fix" value="有" id="can"><label
              for="can">有</label>
            </div>
          </div>
        </div>
      </div>

      <div class="main-item">
        <!-- {{description}}-->
        <div class="fir-title"><i class="circle">●</i>产品描述</div>
        <div class="main-item">
          <div class="row sec-item">
            <div class="col-md-2 sec-title"></div>
            <div class="col-md-10 radio-style">
              <editor (onPostData)="PostData($event)"></editor>
            </div>
          </div>
        </div>
      </div>

      <div class="main-item">
        <div class="fir-title"><i class="circle">●</i>上架时间</div>
        <div class="main-item">
          <div class="row sec-item">
            <div class="col-md-2 sec-title"></div>
            <div class="col-md-10 radio-style">
              <input type="radio" name="status" id="stop" [(ngModel)]="status" value="下架"><label
              for="stop">暂不上架，放入我的商品中</label><br>
              <input type="radio" name="status" id="go" [(ngModel)]="status" value="上架"><label for="go">立即上架 <span
              class="red">（上架后商品类目、商品属性及商品名称将不能再修改，请确认已填写无误）</span></label>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="text-center">
      <button class="btn btn-success" (click)="editGoods()" [disabled]="!editStatus||!forma.form.valid">修改</button>
    </div>
  </form>
</div>

<app-notification [type]="type" [message]="message" [isShow]="isShow"
                  (promptIsShow)="promptIsShow($event)"></app-notification>
